Core-local statistics
authorAndrew Kryczka <andrewkr@fb.com>
Tue, 23 May 2017 17:29:14 +0000 (10:29 -0700)
committerGaudenz Steinlin <gaudenz@debian.org>
Fri, 30 Nov 2018 15:49:02 +0000 (15:49 +0000)
commita2e72ba49e6772eeb00ad909ec32aab606b39686
tree9ae77bd1a61533cb9bb70bb640589e8b2732b8f8
parent5f6822be6a77a32346369c8310fef5be7e98cc40
Core-local statistics

Summary:
This diff changes `StatisticsImpl` from a thread-local approach to a core-local one. The goal is to perform faster aggregations, particularly for applications that have many threads. There should be no behavior change.
Closes https://github.com/facebook/rocksdb/pull/2258

Differential Revision: D5016258

Pulled By: ajkr

fbshipit-source-id: 7d4d165b4a91d8110f0409d113d1be91f22d31a9
(cherry picked from commit ac39d6bec5b2c23a2c3fd0f0e61d468be4f3e803)

Gbp-Pq: Name 0003-Core-local-statistics.patch
src/rocksdb/HISTORY.md
src/rocksdb/monitoring/statistics.cc
src/rocksdb/monitoring/statistics.h
src/rocksdb/util/core_local.h